object fmLRAnalyse: TfmLRAnalyse
  Left = 0
  Top = 0
  Caption = #19994#32489#32479#35745
  ClientHeight = 602
  ClientWidth = 834
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Visible = True
  WindowState = wsMaximized
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object pnlTop: TPanel
    Left = 0
    Top = 0
    Width = 834
    Height = 93
    Align = alTop
    BevelOuter = bvNone
    Color = clWindow
    Padding.Left = 3
    Padding.Top = 3
    Padding.Right = 3
    Padding.Bottom = 3
    ParentBackground = False
    TabOrder = 0
    object RzGroupBox2: TRzGroupBox
      Left = 3
      Top = 3
      Width = 226
      Height = 87
      Align = alLeft
      Caption = #20998#31867
      Color = 14872561
      GroupStyle = gsBanner
      TabOrder = 0
      object lstTypes: TRzListBox
        Left = 0
        Top = 21
        Width = 226
        Height = 66
        Align = alClient
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Verdana'
        Font.Style = []
        FrameVisible = True
        ItemHeight = 15
        Items.Strings = (
          #25353#35746#21333#32479#35745)
        ParentFont = False
        Style = lbOwnerDrawFixed
        TabOrder = 0
        OnClick = lstTypesClick
      end
    end
    object RzGroupBox3: TRzGroupBox
      Left = 229
      Top = 3
      Width = 584
      Height = 87
      Align = alLeft
      Caption = #26102#38388#27573
      Color = 14872561
      GroupStyle = gsBanner
      TabOrder = 1
      object RzLabel1: TRzLabel
        Left = 3
        Top = 30
        Width = 48
        Height = 13
        Caption = #36215#22987#26085#26399
      end
      object RzLabel2: TRzLabel
        Left = 194
        Top = 30
        Width = 48
        Height = 13
        Caption = #32467#26463#26085#26399
      end
      object edtStart: TRzDateTimeEdit
        Left = 61
        Top = 27
        Width = 121
        Height = 21
        EditType = etDate
        TabOrder = 0
      end
      object edtEnd: TRzDateTimeEdit
        Left = 253
        Top = 27
        Width = 121
        Height = 21
        EditType = etDate
        TabOrder = 1
      end
      object btnGo: TRzButton
        Left = 181
        Top = 58
        Default = True
        FrameColor = 7617536
        Caption = #26597#35810
        Color = 15791348
        HotTrack = True
        TabOrder = 2
        OnClick = btnGoClick
      end
      object ckPi: TcxCheckBox
        Left = 0
        Top = 62
        Caption = #24050#32467#26696#22806#38144#21512#21516
        TabOrder = 3
        Visible = False
        Width = 121
      end
      object btnExport: TRzButton
        Left = 262
        Top = 58
        FrameColor = 7617536
        Caption = #23548#20986
        Color = 15791348
        HotTrack = True
        TabOrder = 4
        OnClick = btnExportClick
      end
    end
  end
  object pnlMain: TPanel
    Left = 0
    Top = 93
    Width = 834
    Height = 509
    Align = alClient
    BevelOuter = bvNone
    TabOrder = 1
    object grdBrowser: TcxGrid
      Left = 0
      Top = 0
      Width = 834
      Height = 358
      Align = alClient
      TabOrder = 0
      LookAndFeel.Kind = lfOffice11
      object tvBrowser: TcxGridDBBandedTableView
        NavigatorButtons.ConfirmDelete = False
        DataController.DataSource = dsAnalyse
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skCount
            Column = tvBrowserColumn1
          end
          item
            Kind = skSum
            Column = tvBrowserColumn9
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
            Column = tvBrowserSellAmt
          end
          item
            Kind = skSum
            Column = tvBrowserProfit
          end
          item
            Kind = skSum
            Column = tvBrowserColumn25
          end
          item
            Kind = skSum
            Column = tvBrowserColumn24
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
            Column = tvBrowserColumn23
          end
          item
            Kind = skSum
            Column = tvBrowserColumn38
          end
          item
            Kind = skSum
            Column = tvBrowserColumn22
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
            Column = tvBrowserColumn40
          end
          item
            Kind = skSum
            Column = tvBrowserColumn11
          end
          item
            Kind = skSum
            Column = tvBrowserColumn42
          end
          item
            Kind = skSum
            Column = tvBrowserColumn19
          end
          item
            Kind = skSum
            Column = tvBrowserColumn41
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
            Column = tvBrowserColumn21
          end
          item
            Kind = skSum
            Column = tvBrowserColumn12
          end
          item
            Kind = skSum
            Column = tvBrowserColumn43
          end>
        DataController.Summary.SummaryGroups = <>
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsSelection.CellSelect = False
        OptionsView.Footer = True
        OptionsView.Indicator = True
        OptionsView.FixedBandSeparatorWidth = 0
        Bands = <
          item
            Caption = #22522#26412#20449#24687
          end
          item
            Caption = #25968#37327
          end
          item
            Caption = #37329#39069
          end
          item
            Caption = #25104#26412
          end
          item
            Caption = #36153#29992
          end
          item
            Caption = #21033#28070
          end>
        object tvBrowserId: TcxGridDBBandedColumn
          DataBinding.FieldName = 'dp_id'
          Visible = False
          HeaderAlignmentHorz = taCenter
          Position.BandIndex = 0
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object tvBrowserColumn1: TcxGridDBBandedColumn
          Caption = #35746#21333#21333#21495
          DataBinding.FieldName = 'tdp_no'
          HeaderAlignmentHorz = taCenter
          Width = 90
          Position.BandIndex = 0
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object tvBrowserColumn2: TcxGridDBBandedColumn
          Caption = #35746#21333#26085#26399
          DataBinding.FieldName = 'tdp_date'
          HeaderAlignmentHorz = taCenter
          Width = 72
          Position.BandIndex = 0
          Position.ColIndex = 3
          Position.RowIndex = 0
        end
        object tvBrowserColumn3: TcxGridDBBandedColumn
          Caption = #20844#21496
          DataBinding.FieldName = 'tdp_osimpname'
          HeaderAlignmentHorz = taCenter
          Width = 71
          Position.BandIndex = 0
          Position.ColIndex = 4
          Position.RowIndex = 0
        end
        object tvBrowserColumn4: TcxGridDBBandedColumn
          Caption = #23458#25143
          DataBinding.FieldName = 'tdp_csimpname'
          HeaderAlignmentHorz = taCenter
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 7
          Position.RowIndex = 0
        end
        object tvBrowserColumn5: TcxGridDBBandedColumn
          Caption = #23458#25143#35746#21333#21495
          DataBinding.FieldName = 'dp_cpino'
          Visible = False
          HeaderAlignmentHorz = taCenter
          Width = 70
          Position.BandIndex = 1
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object tvBrowserColumn6: TcxGridDBBandedColumn
          Caption = #19994#21153#21592
          DataBinding.FieldName = 'tdp_staff'
          HeaderAlignmentHorz = taCenter
          Width = 70
          Position.BandIndex = 0
          Position.ColIndex = 5
          Position.RowIndex = 0
        end
        object tvBrowserColumn7: TcxGridDBBandedColumn
          Caption = #37096#38376
          DataBinding.FieldName = 'tdp_department'
          HeaderAlignmentHorz = taCenter
          Width = 70
          Position.BandIndex = 0
          Position.ColIndex = 6
          Position.RowIndex = 0
        end
        object tvBrowserSellAmt: TcxGridDBBandedColumn
          Caption = #21512#21516#37329#39069
          DataBinding.FieldName = 'tdp_amt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          HeaderAlignmentHorz = taCenter
          Width = 80
          Position.BandIndex = 2
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object tvBrowserColumn9: TcxGridDBBandedColumn
          Caption = #21512#21516#25968#37327
          DataBinding.FieldName = 'tdp_totalqty'
          HeaderAlignmentHorz = taCenter
          Position.BandIndex = 1
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object tvBrowserColumn13: TcxGridDBBandedColumn
          Caption = #24065#21035
          DataBinding.FieldName = 'tdp_mcode'
          HeaderAlignmentHorz = taCenter
          Width = 73
          Position.BandIndex = 0
          Position.ColIndex = 8
          Position.RowIndex = 0
        end
        object tvBrowserColumn14: TcxGridDBBandedColumn
          Caption = #27719#29575
          DataBinding.FieldName = 'tdp_rate'
          Visible = False
          HeaderAlignmentHorz = taCenter
          Width = 70
          Position.BandIndex = 0
          Position.ColIndex = 9
          Position.RowIndex = 0
        end
        object tvBrowserColumn19: TcxGridDBBandedColumn
          Caption = #23454#38469#20986#36135#25968#37327
          DataBinding.FieldName = 'tdp_outqty'
          HeaderAlignmentHorz = taCenter
          Width = 80
          Position.BandIndex = 1
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object tvBrowserProfit: TcxGridDBBandedColumn
          Caption = #21033#28070
          DataBinding.FieldName = 'dp_profit'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = ',0.00;-,0.00'
          Visible = False
          HeaderAlignmentHorz = taCenter
          Width = 70
          Position.BandIndex = 0
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object tvBrowserColumn8: TcxGridDBBandedColumn
          Caption = #21462#28040#37327
          DataBinding.FieldName = 'tdp_cancelqty'
          Visible = False
          Width = 70
          Position.BandIndex = 1
          Position.ColIndex = 3
          Position.RowIndex = 0
        end
        object tvBrowserColumn21: TcxGridDBBandedColumn
          Caption = #24212#25910#37329#39069
          DataBinding.FieldName = 'tdp_aramt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 60
          Position.BandIndex = 2
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object tvBrowserColumn11: TcxGridDBBandedColumn
          Caption = #21512#21516#37319#36141#37329#39069
          DataBinding.FieldName = 'tdp_buyamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 110
          Position.BandIndex = 3
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object tvBrowserColumn12: TcxGridDBBandedColumn
          Caption = #23454#25910#37329#39069
          DataBinding.FieldName = 'tdp_realaramt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 70
          Position.BandIndex = 2
          Position.ColIndex = 3
          Position.RowIndex = 0
        end
        object tvBrowserColumn17: TcxGridDBBandedColumn
          Caption = #24050#20184#36134#27454#37329#39069
          Visible = False
          Width = 80
          Position.BandIndex = 3
          Position.ColIndex = 3
          Position.RowIndex = 0
        end
        object tvBrowserColumn18: TcxGridDBBandedColumn
          Caption = #39044#35745#21033#28070
          Position.BandIndex = -1
          Position.ColIndex = -1
          Position.RowIndex = -1
        end
        object tvBrowserColumn22: TcxGridDBBandedColumn
          Caption = #24212#20184#36134#27454#37329#39069
          DataBinding.FieldName = 'tdp_apamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Visible = False
          Width = 80
          Position.BandIndex = 3
          Position.ColIndex = 4
          Position.RowIndex = 0
        end
        object tvBrowserColumn23: TcxGridDBBandedColumn
          Caption = #35746#21333#30456#20851#36153#29992'(RMB)'
          DataBinding.FieldName = 'tdp_feeamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 120
          Position.BandIndex = 4
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object tvBrowserColumn24: TcxGridDBBandedColumn
          Caption = #39044#35745#21033#28070'(RMB)'
          DataBinding.FieldName = 'tdp_profit'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 90
          Position.BandIndex = 5
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object tvBrowserColumn25: TcxGridDBBandedColumn
          Caption = #23454#38469#21033#28070'(RMB)'
          DataBinding.FieldName = 'tdp_realprofit'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 90
          Position.BandIndex = 5
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object tvBrowserColumn30: TcxGridDBBandedColumn
          Caption = #32467#31639#27719#29575
          DataBinding.FieldName = 'tdp_settlerate'
          Visible = False
          Position.BandIndex = 0
          Position.ColIndex = 11
          Position.RowIndex = 0
        end
        object tvBrowserColumn31: TcxGridDBBandedColumn
          Caption = #27719#29575
          DataBinding.FieldName = 'tdp_rate'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 10
          Position.RowIndex = 0
        end
        object tvBrowserColumn33: TcxGridDBBandedColumn
          Caption = #39044#35745#21512#21516#25104#26412'(RMB)'
          DataBinding.FieldName = 'tdp_buycost'
          Visible = False
          Width = 110
          Position.BandIndex = 3
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object tvBrowserColumn39: TcxGridDBBandedColumn
          Caption = #28023#36816#36153'(RMB)'
          Visible = False
          Width = 80
          Position.BandIndex = 4
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object tvBrowserColumn38: TcxGridDBBandedColumn
          Caption = #24050#30003#35831#24320#31080#37329#39069
          DataBinding.FieldName = 'tdp_billamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Visible = False
          Width = 90
          Position.BandIndex = 3
          Position.ColIndex = 6
          Position.RowIndex = 0
        end
        object tvBrowserColumn40: TcxGridDBBandedColumn
          Caption = #20986#36135#37319#36141#37329#39069
          DataBinding.FieldName = 'tdp_invoicebuyamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Visible = False
          Width = 110
          Position.BandIndex = 3
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object tvBrowserColumn41: TcxGridDBBandedColumn
          Caption = #20986#36135#37329#39069
          DataBinding.FieldName = 'tdp_invoiceamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 80
          Position.BandIndex = 2
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object tvBrowserColumn42: TcxGridDBBandedColumn
          Caption = #25240#20154#27665#24065
          DataBinding.FieldName = 'tdp_realzrmb'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 80
          Position.BandIndex = 2
          Position.ColIndex = 4
          Position.RowIndex = 0
        end
        object tvBrowserColumn43: TcxGridDBBandedColumn
          Caption = #24050#23545#36134#37329#39069
          DataBinding.FieldName = 'tdp_fabilledamt'
          Visible = False
          Width = 90
          Position.BandIndex = 3
          Position.ColIndex = 5
          Position.RowIndex = 0
        end
      end
      object tvDepart: TcxGridDBTableView
        NavigatorButtons.ConfirmDelete = False
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
            Column = tvDepartColumn2
          end
          item
            Kind = skSum
            Column = tvDepartProfit
          end
          item
            Kind = skSum
            Column = tvDepartColumn8
          end
          item
            Kind = skSum
            Column = tvDepartColumn7
          end
          item
            Kind = skSum
            Column = tvDepartColumn6
          end
          item
            Kind = skSum
            Column = tvDepartColumn5
          end
          item
            Kind = skSum
            Column = tvDepartColumn4
          end
          item
            Kind = skSum
            Column = tvDepartColumn3
          end
          item
            Kind = skSum
            Column = tvDepartColumn9
          end>
        DataController.Summary.SummaryGroups = <>
        OptionsSelection.CellSelect = False
        OptionsView.Footer = True
        OptionsView.GroupByBox = False
        OptionsView.Indicator = True
        object tvDepartColumn1: TcxGridDBColumn
          Caption = #37096#38376
          DataBinding.FieldName = 'tbd_name'
          Width = 80
        end
        object tvDepartColumn2: TcxGridDBColumn
          Caption = #23454#25910#37329#39069'(RMB)'
          DataBinding.FieldName = 'tbd_realzrmb'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 100
        end
        object tvDepartColumn3: TcxGridDBColumn
          Caption = #24050#24320#31080#37329#39069'(RMB)'
          DataBinding.FieldName = 'tbd_billamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 100
        end
        object tvDepartColumn4: TcxGridDBColumn
          Caption = #35746#21333#30456#20851#36153#29992'(RMB)'
          DataBinding.FieldName = 'tbd_feeamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 110
        end
        object tvDepartColumn5: TcxGridDBColumn
          Caption = #38134#34892#36153#29992'(RMB)'
          DataBinding.FieldName = 'tbd_bankcost'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 90
        end
        object tvDepartColumn6: TcxGridDBColumn
          Caption = #36864#31246#37329#39069'(RMB)'
          DataBinding.FieldName = 'tbd_backamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 110
        end
        object tvDepartColumn7: TcxGridDBColumn
          Caption = #35746#21333#21033#28070'(RMB)'
          DataBinding.FieldName = 'tbd_piprofit'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 120
        end
        object tvDepartColumn8: TcxGridDBColumn
          Caption = #37096#38376#36153#29992'(RMB)'
          DataBinding.FieldName = 'tbd_departamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 90
        end
        object tvDepartColumn9: TcxGridDBColumn
          Caption = #37096#38376#26679#21697#36153'(RMB)'
          DataBinding.FieldName = 'tbd_departsampleamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 100
        end
        object tvDepartProfit: TcxGridDBColumn
          Caption = #37096#38376#21033#28070'(RMB)'
          DataBinding.FieldName = 'tbd_profit'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 120
        end
      end
      object tvInvoice: TcxGridDBBandedTableView
        NavigatorButtons.ConfirmDelete = False
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
            Column = tvInvoiceColumn10
          end
          item
            Kind = skSum
            Column = tvInvoiceColumn14
          end
          item
            Kind = skSum
            Column = tvInvoiceColumn13
          end
          item
            Kind = skSum
            Column = tvInvoiceColumn11
          end
          item
            Kind = skCount
            Column = tvInvoiceColumn1
          end
          item
            Kind = skSum
            Column = tvInvoiceColumn20
          end
          item
            Kind = skSum
            Column = tvInvoiceColumn22
          end
          item
            Kind = skSum
            Column = tvInvoiceColumn21
          end>
        DataController.Summary.SummaryGroups = <>
        OptionsSelection.CellSelect = False
        OptionsView.Footer = True
        Bands = <
          item
            Caption = #22522#26412#36164#26009
          end
          item
            Caption = #36134#27454
          end>
        object tvInvoiceColumn1: TcxGridDBBandedColumn
          Caption = #20986#36135#21457#31080#21495
          DataBinding.FieldName = 'tdi_realno'
          Width = 120
          Position.BandIndex = 0
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object tvInvoiceColumn2: TcxGridDBBandedColumn
          Caption = #20986#36135#21333#21495
          DataBinding.FieldName = 'tdi_no'
          Width = 120
          Position.BandIndex = 0
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object tvInvoiceColumn3: TcxGridDBBandedColumn
          Caption = #21457#31080#26085#26399
          DataBinding.FieldName = 'tdi_date'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object tvInvoiceColumn4: TcxGridDBBandedColumn
          Caption = #23458#25143
          DataBinding.FieldName = 'tdi_csimpname'
          Width = 100
          Position.BandIndex = 0
          Position.ColIndex = 5
          Position.RowIndex = 0
        end
        object tvInvoiceColumn5: TcxGridDBBandedColumn
          Caption = #20986#21475#20844#21496
          DataBinding.FieldName = 'tdi_osimpname'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 6
          Position.RowIndex = 0
        end
        object tvInvoiceColumn6: TcxGridDBBandedColumn
          Caption = #19994#21153#21592
          DataBinding.FieldName = 'tdi_staff'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 7
          Position.RowIndex = 0
        end
        object tvInvoiceColumn7: TcxGridDBBandedColumn
          Caption = #37096#38376
          DataBinding.FieldName = 'tdi_department'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 8
          Position.RowIndex = 0
        end
        object tvInvoiceColumn8: TcxGridDBBandedColumn
          Caption = #24065#21035
          DataBinding.FieldName = 'tdi_mcode'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 11
          Position.RowIndex = 0
        end
        object tvInvoiceColumn9: TcxGridDBBandedColumn
          Caption = #27719#29575
          DataBinding.FieldName = 'tdi_rate'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 12
          Position.RowIndex = 0
        end
        object tvInvoiceColumn10: TcxGridDBBandedColumn
          Caption = #24212#25910#36134#27454
          DataBinding.FieldName = 'tdi_totalamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 80
          Position.BandIndex = 1
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object tvInvoiceColumn11: TcxGridDBBandedColumn
          Caption = #25968#37327
          DataBinding.FieldName = 'tdi_totalqty'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 13
          Position.RowIndex = 0
        end
        object tvInvoiceColumn12: TcxGridDBBandedColumn
          Caption = #25240#20154#27665#24065
          DataBinding.FieldName = 'tdi_zrmb'
          Visible = False
          Position.BandIndex = 1
          Position.ColIndex = 3
          Position.RowIndex = 0
        end
        object tvInvoiceColumn13: TcxGridDBBandedColumn
          Caption = #24050#23545#36134#37329#39069
          DataBinding.FieldName = 'tdi_amt2'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 80
          Position.BandIndex = 1
          Position.ColIndex = 7
          Position.RowIndex = 0
        end
        object tvInvoiceColumn14: TcxGridDBBandedColumn
          Caption = #24212#20184#36134#27454
          DataBinding.FieldName = 'tdi_totalpayamt'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 80
          Position.BandIndex = 1
          Position.ColIndex = 5
          Position.RowIndex = 0
        end
        object tvInvoiceColumn15: TcxGridDBBandedColumn
          Caption = #39044#35745#21033#28070
          DataBinding.FieldName = 'tdi_profit'
          Visible = False
          Position.BandIndex = 1
          Position.ColIndex = 6
          Position.RowIndex = 0
        end
        object tvInvoiceColumn16: TcxGridDBBandedColumn
          Caption = #20132#21333#26085#26399
          DataBinding.FieldName = 'tdi_jiaodandate'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 4
          Position.RowIndex = 0
        end
        object tvInvoiceColumn17: TcxGridDBBandedColumn
          Caption = #36215#36816#28207
          DataBinding.FieldName = 'tdi_shipfrom'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 9
          Position.RowIndex = 0
        end
        object tvInvoiceColumn18: TcxGridDBBandedColumn
          Caption = #30446#30340#28207
          DataBinding.FieldName = 'tdi_shipto'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 10
          Position.RowIndex = 0
        end
        object tvInvoiceColumn19: TcxGridDBBandedColumn
          Caption = #25552#21333#26085#26399
          DataBinding.FieldName = 'tdi_bldate'
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 3
          Position.RowIndex = 0
        end
        object tvInvoiceColumn20: TcxGridDBBandedColumn
          Caption = #25240'RMB'
          DataBinding.FieldName = 'tdi_zrmb'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 80
          Position.BandIndex = 1
          Position.ColIndex = 4
          Position.RowIndex = 0
        end
        object tvInvoiceColumn21: TcxGridDBBandedColumn
          Caption = #36816#36153#37329#39069#65509
          DataBinding.FieldName = 'tdi_freightfeermb'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 70
          Position.BandIndex = 1
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object tvInvoiceColumn22: TcxGridDBBandedColumn
          Caption = #36816#36153#37329#39069'$'
          DataBinding.FieldName = 'tdi_freightfeeusd'
          PropertiesClassName = 'TcxCalcEditProperties'
          Properties.DisplayFormat = '0.00;-0.00'
          Width = 70
          Position.BandIndex = 1
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
      end
      object lvBrowser: TcxGridLevel
        GridView = tvBrowser
      end
      object lvDepart: TcxGridLevel
        GridView = tvDepart
      end
      object lvInvoice: TcxGridLevel
        GridView = tvInvoice
      end
    end
    object pnlMainBottom: TPanel
      Left = 0
      Top = 358
      Width = 834
      Height = 151
      Align = alBottom
      BevelOuter = bvNone
      TabOrder = 1
      object cxLabel1: TcxLabel
        Left = 56
        Top = 38
        Caption = #37096#38376#21033#28070
        Style.LookAndFeel.Kind = lfUltraFlat
        Style.LookAndFeel.NativeStyle = False
        StyleDisabled.LookAndFeel.Kind = lfUltraFlat
        StyleDisabled.LookAndFeel.NativeStyle = False
        StyleFocused.LookAndFeel.Kind = lfUltraFlat
        StyleFocused.LookAndFeel.NativeStyle = False
        StyleHot.LookAndFeel.Kind = lfUltraFlat
        StyleHot.LookAndFeel.NativeStyle = False
      end
      object cxLabel2: TcxLabel
        Left = 239
        Top = 38
        Caption = '-   '#20844#21496#36153#29992
      end
      object cxLabel3: TcxLabel
        Left = 441
        Top = 38
        Caption = '=   '#20844#21496#21033#28070
      end
      object edtCompanyFee: TcxCurrencyEdit
        Left = 310
        Top = 36
        Properties.EditFormat = #65509',0.00;'#65509'-,0.00'
        Properties.ReadOnly = True
        TabOrder = 3
        Width = 121
      end
      object edtDepartProfit: TcxCurrencyEdit
        Left = 112
        Top = 36
        Properties.EditFormat = #65509',0.00;'#65509'-,0.00'
        Properties.ReadOnly = True
        TabOrder = 4
        Width = 121
      end
      object edtCompanyProfit: TcxCurrencyEdit
        Left = 516
        Top = 36
        Properties.EditFormat = #65509',0.00;'#65509'-,0.00'
        Properties.ReadOnly = True
        TabOrder = 5
        Width = 121
      end
    end
  end
  object rdaAnalyse: TDARemoteDataAdapter
    GetSchemaCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.MethodName = 'SQLGetData'
    GetDataCall.Params = <
      item
        Name = 'Result'
        DataType = rtBinary
        Flag = fResult
        Value = Null
      end
      item
        Name = 'aSQLText'
        DataType = rtString
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aIncludeSchema'
        DataType = rtBoolean
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aMaxRecords'
        DataType = rtInteger
        Flag = fIn
        Value = Null
      end>
    GetDataCall.Default = False
    GetDataCall.OutgoingTableNamesParameter = 'aTableNameArray'
    GetDataCall.OutgoingTableRequestInfosParameter = 'aTableRequestInfoArray'
    GetDataCall.IncomingDataParameter = 'Result'
    GetDataCall.OutgoingIncludeSchemaParameter = 'aIncludeSchema'
    GetDataCall.OutgoingMaxRecordsParameter = 'aMaxRecords'
    UpdateDataCall.RemoteService = ClientDataModule.RemoteService
    GetScriptsCall.RemoteService = ClientDataModule.RemoteService
    RemoteService = ClientDataModule.RemoteService
    DataStreamer = ClientDataModule.DataStreamer
    Left = 410
    Top = 230
  end
  object dsAnalyse: TDADataSource
    DataSet = tblAnalyse.Dataset
    DataTable = tblAnalyse
    Left = 374
    Top = 230
  end
  object tblAnalyse: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'dp_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dp_no'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_date'
        DataType = datDateTime
      end
      item
        Name = 'dp_cpino'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_oid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dp_osimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_validate'
        DataType = datInteger
        DefaultValue = '30'
      end
      item
        Name = 'dp_cid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dp_cno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_csimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_ccontact'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_cfax'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_staffid'
        DataType = datGuid
      end
      item
        Name = 'dp_department'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_priceterm'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_termdes'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_paymentmode'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_shipfrom'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_shipto'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_country'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_shipway'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_mcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dp_rate'
        DataType = datFloat
      end
      item
        Name = 'dp_amt'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dp_totalqty'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dp_totalgw'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dp_productname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_companydocno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_checkstate'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_state'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_shipdate'
        DataType = datDateTime
      end
      item
        Name = 'dp_shipdatedec'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_remark'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dp_stockgen'
        DataType = datBoolean
        DefaultValue = '0'
      end
      item
        Name = 'dp_insurance'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_packing'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_createdate'
        DataType = datDateTime
      end
      item
        Name = 'dp_checkman'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_checkdate'
        DataType = datDateTime
      end>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = rdaAnalyse
    ReadOnly = True
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_pi'
    IndexDefs = <>
    Left = 338
    Top = 230
  end
  object SaveDialog: TSaveDialog
    Filter = 'xls files (*.xls)|*.XLS'
    Left = 542
    Top = 126
  end
end
